﻿<%@ Page Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeFile="ProductListShow.aspx.cs" Inherits="ProductListShow" Title="无标题页" %>

<%@ Register assembly="ExtensionGridView" namespace="ExtensionControls" tagprefix="cc1" %>

<%@ Register src="~/UserControls/ProductTypeNavigator.ascx" tagname="ProductTypeNavigator" tagprefix="uc1" %>

<%@ Register src="UserControls/CommonProductsList.ascx" tagname="CommonProductsList" tagprefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
       .outframe
        {
          width:819px;	
        }
        .navi_prdlist
        {
            width: 200px;
            font-size:9pt;
        }
        .n{TEXT-DECORATION:none}
        .AutoNewline{width:155px;table-layout:fixed; }
        
        .BigType
        {
           font-size:10pt;
           color:#FF6209;       	
        }        
        .SmallType
        {
           font-size:9pt;
           color:#0000FF;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table class="outframe" cellpadding="0" cellspacing="0">
            <tr>
                <td class="navi_prdlist" 
                    style=" vertical-align:top ; padding-top:20px; text-align:left;">
                <div id="divClass">
                    <asp:Label ID="Label1" runat="server" Text="商品类型" Font-Bold="True" Font-Size="10pt"></asp:Label>
                    <uc1:ProductTypeNavigator ID="ProductTypeNavigator1" runat="server" />
                </div><br />
                <div id="divBrand">
                  <asp:Label ID="Label2" runat="server" Text="精品专卖店" Font-Bold="True" Font-Size="10pt"></asp:Label>
                  <asp:DataList ID="dlBrandList" runat="server" Caption="" Width="155px" 
                      CellPadding="1" CellSpacing="5" >
                      <ItemTemplate>                                     
                          <asp:HyperLink ID="hlBrand" runat="server" NavigateUrl='<%# "PrdtListByBrand.aspx?prdtBrand="+Eval("Name") %>' Text='<%#Eval("Name") %>'></asp:HyperLink>
                      </ItemTemplate>
                  </asp:DataList></div><br />
                  <div id="divPriceRange" style="display:none">
                  <asp:ListView ID="lvPriceRange" runat="server" GroupItemCount="1">
                  <GroupTemplate>
                    <tr>
                      <asp:PlaceHolder runat="server" ID="itemPlaceholder" />
                    </tr>
                  </GroupTemplate>
                    <LayoutTemplate>
                    <p style="text-align:left; font-size:10pt; font-weight:600;">价格范围</p>
                     <table>
                        <asp:PlaceHolder ID="groupPlaceholder" runat="server" />
                     </table>
                     <asp:DataPager Visible="false" ID="DataPager1" PagedControlID="lvPriceRange" PageSize="5" runat="server"><Fields><asp:NumericPagerField /></Fields></asp:DataPager>
                    </LayoutTemplate>
                    <ItemTemplate>
                    <td>
    <%--                    <asp:Label ID="Label2" runat="server" Text='<%#Container.DataItem %>'></asp:Label>
                        <br />--%>
                        <asp:LinkButton ID="btnPrdtID" runat="server" CommandName="TimeRange" CommandArgument='<%# Container.DataItem%>' Text='<%# Container.DataItem %>'>价格范围</asp:LinkButton><br/>
                    </td>
                    </ItemTemplate>
                    </asp:ListView>
                    </div><br />
                    <div id="divFriend" style="font-size:9pt">
                      <asp:Label ID="Label3" runat="server" Text="友情链接" Font-Bold="True" Font-Size="10pt"></asp:Label>
                      <asp:DataList ID="dlFriendlyLink" runat="server" Caption="" CaptionAlign="Left" 
                      CellPadding="1" CellSpacing="5"  
                              ForeColor="#333333" RepeatColumns="1" RepeatDirection="Horizontal" 
                              Width="155px" >
                          
                          <AlternatingItemStyle BackColor="White" />
                          <ItemStyle BackColor="#EFF3FB" />
                          <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                          <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />

                          <ItemTemplate>
                             <tr>
                             <td>
                             <%--<asp:Image ID="Image1" runat="server"/>--%>
                             <asp:HyperLink ID="hlFriend" runat="server"  CssClass="n" Text='<%#Eval("Name") %>' NavigateUrl='<%# "http://"+ Eval("src") %>' Target="_blank"></asp:HyperLink>
                            
                             </td>
                             </tr>                                     
                          </ItemTemplate>
                      </asp:DataList>
                      </div>
                    </td>
                    <td>
                    <uc2:CommonProductsList ID="cplPrdts" runat="server" />
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content_rightarea" Runat="Server">
</asp:Content>

